package com.example.filedemo;

import android.app.Application;
import android.content.Context;
import android.os.Environment;
import android.util.Log;

public class Myapplication extends Application {
    public Context context;
    public String filepath;
    private String TAG = "Myapplication";

    public String getFilepath() {
        return filepath;
    }

    @Override
    public void onCreate() {
        super.onCreate();
        //context = getApplicationContext();
        filepath = Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOWNLOADS).getPath();
        Log.e(TAG, "onCreate: " + filepath );
    }
}
